<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    <input type="file" name="dataFile" onchange="this.form.submit()" />
    <input type="hidden" name="real_action_script" value="ApplicationQuantitiesImport.php" />
    <input type="hidden" name="dataType" value="forecastQuantities" />
</form>